
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%
	String contextPath = request.getContextPath();
	List<BProduct> list = (List<BProduct>)request.getAttribute("proList");
	String con = Tools.getParameter(request,"con");
	if (con == null) 
		con = "";
	%>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <%@ taglib prefix="zhangyj" uri="http://www.zhangyj.com/input" %>
<%@page import="java.util.List"%>
<%@page import="com.zhangyj.entitis.BProduct"%>
<%@page import="com.zhangyj.util.Tools"%>
<%@page import="com.zhangyj.entitis.SystemParam"%><html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 <%@include file="/WEB-INF/jsps/head.jsp" %>
 <title>Zhyone.com</title>
 </head>
<body>
	<div class="subcontent" style="margin:10px;">
	<span class="functitle">产品管理：</span>
<form action="<%=contextPath %>/produce/mgList.do" name="form1">
<div class="subcontent" style="padding:0 auto">
     过滤条件：<input name="con" value="<%=con %>" style="width:200px"/><span style="color:blue">*可根据产品名称</span>
     <%=SystemParam.getSystemParam(request).toInput() %>
     <input type="submit" value="查询"/>
	</div>
</form>
<table border="0" cellspacing="0" cellpadding="0" style="width:90%;margin:0 auto;">
 <tr>
 <td style="width:20%;height:30px;" class="title14">&nbsp;&nbsp;产品编号</td>
  <td style="width:40%;height:30px;" class="title14">&nbsp;&nbsp;产品标题</td>
  <td style="width:10%;" class="title14">型号</td>
  <td style="width:10%;" class="title14">单价</td>
  <td style="width:10%;" class="title14">产品分类</td>
  <td style="width:5%;" class="title14">操作</td>
  <td style="width:5%;" class="title14">操作</td>
 </tr>
<%for (int i =0;i < list.size();i++) {
	BProduct pro = list.get(i);
	%>

 <tr>
  <td style="height:28px;border-bottom:1px solid #e7e7e7;">&nbsp;&nbsp;<img src="<%=contextPath %>/manage/images/tdot.gif" alt="" />&nbsp;&nbsp;<%=pro.getCode() %></td>
  <td style="height:28px;border-bottom:1px solid #e7e7e7;">&nbsp;&nbsp;<a href="<%=contextPath %>/produce/mgGetCon.do?slug=<%=pro.getSlug() %>"><%=pro.getCpmc() %></a></td>
  <td style="height:28px;border-bottom:1px solid #e7e7e7;">&nbsp;&nbsp;<%=pro.getXh() %></td>
  <td style="border-bottom:1px solid #e7e7e7;"><span><%=pro.getDj() %></span></td>
  <td style="border-bottom:1px solid #e7e7e7;"><span><%=pro.getCplm() %></span></td>
  <td style="border-bottom:1px solid #e7e7e7;"><a href="<%=contextPath %>/produce/mgGetCon.do?slug=<%=pro.getSlug() %>">修改</a></td>
  <td style="border-bottom:1px solid #e7e7e7;"><a href="<%=contextPath %>/produce/del.do?cpbh=<%=pro.getCpbh() %>">删除</a></td>
 </tr>
<%} %>
 </table>
<zhangyj:pagnation />
	</div>	
</body>
</html>